package com.cloudlead.commonData.entity;

import com.cloudlead.common.lang.persistence.AbstractIdEntity;

import com.cloudlead.common.persistence.UpdateCheck;

import javax.validation.constraints.Size;
import java.lang.Double;
import com.cloudlead.common.lang.annotation.Label;
import java.lang.String;
import javax.validation.constraints.NotNull;
import java.lang.Integer;

/**
 * ETbPlacePrice is a Querydsl bean type
 */
@Label("TbPlacePrice")
public class ETbPlacePrice extends AbstractIdEntity<String> {

    private static final long serialVersionUID =13383185101926L;    
    @Label("areaDescription")
    @Size(max=500)
    private String areaDescription;

    @NotNull
    @Label("baseCompanyId")
    @Size(max=24)
    private String baseCompanyId;

    @NotNull
    @Label("港口")
    @Size(max=24)
    private String baseDockId;

    @NotNull
    @Label("门点")
    @Size(max=24)
    private String basePlaceId;

    @Label("备注")
    @Size(max=45)
    private String comments;

    @Label("空箱")
    private Double containerNull;

    @Label("箱尺寸")
    @Size(max=24)
    private String containerSize;

    @Label("箱类型")
    @Size(max=24)
    private String containerType;

    @Label("door5")
    @Size(max=24)
    private String door5;

    @Label("删除标记")
    @Size(max=8)
    private String flag;

    @Label("20GP")
    private Double gp20;

    @Label("20GP")
    private Double gp40;

    @Label("40HC")
    private Double hc40;

    @NotNull(groups={UpdateCheck.class})
    @Label("id")
    @Size(max=24)
    private String id;

    @Label("报价")
    private Double price;

    @Label("单据类型")
    private Integer stae;

    @Label("40TK")
    private Double tk40;

    public String getAreaDescription() {
        return areaDescription;
    }

    public void setAreaDescription(String areaDescription) {
        this.areaDescription = areaDescription;
    }

    public String getBaseCompanyId() {
        return baseCompanyId;
    }

    public void setBaseCompanyId(String baseCompanyId) {
        this.baseCompanyId = baseCompanyId;
    }

    public String getBaseDockId() {
        return baseDockId;
    }

    public void setBaseDockId(String baseDockId) {
        this.baseDockId = baseDockId;
    }

    public String getBasePlaceId() {
        return basePlaceId;
    }

    public void setBasePlaceId(String basePlaceId) {
        this.basePlaceId = basePlaceId;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public Double getContainerNull() {
        return containerNull;
    }

    public void setContainerNull(Double containerNull) {
        this.containerNull = containerNull;
    }

    public String getContainerSize() {
        return containerSize;
    }

    public void setContainerSize(String containerSize) {
        this.containerSize = containerSize;
    }

    public String getContainerType() {
        return containerType;
    }

    public void setContainerType(String containerType) {
        this.containerType = containerType;
    }

    public String getDoor5() {
        return door5;
    }

    public void setDoor5(String door5) {
        this.door5 = door5;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public Double getGp20() {
        return gp20;
    }

    public void setGp20(Double gp20) {
        this.gp20 = gp20;
    }

    public Double getGp40() {
        return gp40;
    }

    public void setGp40(Double gp40) {
        this.gp40 = gp40;
    }

    public Double getHc40() {
        return hc40;
    }

    public void setHc40(Double hc40) {
        this.hc40 = hc40;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getStae() {
        return stae;
    }

    public void setStae(Integer stae) {
        this.stae = stae;
    }

    public Double getTk40() {
        return tk40;
    }

    public void setTk40(Double tk40) {
        this.tk40 = tk40;
    }

    public String toString() {
         return String.format("ETbPlacePrice { areaDescription : %s,baseCompanyId : %s,baseDockId : %s,basePlaceId : %s,comments : %s,containerNull : %s,containerSize : %s,containerType : %s,door5 : %s,flag : %s,gp20 : %s,gp40 : %s,hc40 : %s,id : %s,price : %s,stae : %s,tk40 : %s }",areaDescription,baseCompanyId,baseDockId,basePlaceId,comments,containerNull,containerSize,containerType,door5,flag,gp20,gp40,hc40,id,price,stae,tk40);
    }

}

